for a in range(10):
    for b in range(1, a+1):
        print("{}*{}={}".format(a,b,a*b),end='\t')
    print('\t')